<%--
  Created by IntelliJ IDEA.
  User: JAVASM
  Date: 2021/6/23
  Time: 22:21
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>游戏添加</title>
    <%@include file="/common/head.jsp" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

    <style>
        .button {
            margin-top: 12px;
            right: 229px;
        }

        .btn{
            margin-top: 18px;
        }
        .xiala{
            margin-left: 30px;
        }
     .xq{
         margin-left: 30px;
     }
    </style>
</head>
<body>


<div id="wrapper">
    <%@include file="/common/navi.jsp" %>
    <%--    <这里是中间主体>--%>
    <div id="page-wrapper" class="gray-bg dashbard-1">
        <%@include file="/common/row_head.jsp" %>
        <%--        <可更改地区>--%>
        <%--            <上面的分块 建议不要改div class中的东西>--%>
        <div class="row  border-bottom white-bg dashboard-header">
            <div class="col-sm-3">
                <h2>游戏管理</h2>
            </div>

            <div class="col-sm-2  button">
                <input type="button" class="btn-danger" value="添加游戏" onclick="jump();">
            </div>
        </div>
        <%--                <下面的分块 建议不要改div class中的东西>--%>
        <p> &nbsp;</p>
        <div class="row">

            <div class="col-md-6">
                <form class="form-horizontal" action="game/insert">
                    <div class="form-group">
                        <label for="name" class="col-sm-2 control-label">名称</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="name" name="name" placeholder="游戏名称">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="title" class="col-sm-2 control-label">标题</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="title" name="title" placeholder="标题">
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="downloadCount" class="col-sm-2 control-label">下载次数</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="downloadCount" name="downloadCount"
                                   placeholder="下载次数">
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="size" class="col-sm-2 control-label">游戏大小</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="size" name="size" placeholder="游戏大小(单位M)">
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="gameIcon" class="col-sm-2 control-label">游戏图标url</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="gameIcon" name="gameIcon" placeholder="游戏图标地址">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="iosUrl" class="col-sm-2 control-label">ios下载地址</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="iosUrl" name="iosUrl" placeholder="ios下载地址">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="androidUrl" class="col-sm-2 control-label">安卓下载链接</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="androidUrl" name="androidUrl"
                                   placeholder="安卓下载地址">
                        </div>
                    </div>

                    <div class="form-group ">
                        <label for="pictures" class="col-sm-2 control-label">游戏详情图片</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="pictures" name="pictures" placeholder="游戏详情图片">
                        </div>
                    </div>









<%--                    </select>--%>

<%--                       &nbsp;  &nbsp;--%>
<%--                        &nbsp;--%>


<%--&lt;%&ndash;                        游戏状态<select name="status" id="status">&ndash;%&gt;--%>
<%--&lt;%&ndash;                        <option value="">-请选择-</option>&ndash;%&gt;--%>
<%--&lt;%&ndash;                        <option value="1">启用</option>&ndash;%&gt;--%>
<%--&lt;%&ndash;                        <option value="2">下线</option>&ndash;%&gt;--%>
<%--&lt;%&ndash;                    </select>&ndash;%&gt;--%>

<%--                    </div>>--%>





                   <div class=" xiala ">
                       推荐类型<select name="recType" id="recType" >
                           <option value="">-请选择-</option>
                           <option value="1">普通</option>
                           <option value="2">最新</option>
                           <option value="3">精选</option>
                           <option value="4">首页推荐</option>
                       </select>
                       &nbsp  &nbsp&nbsp &nbsp&nbsp&nbsp&nbsp
                       游戏状态<select name="status" id="status">
                           <option value="">-请选择-</option>
                           <option value="1">启用</option>
                           <option value="2">下线</option>
                       </select>
                       &nbsp  &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
                       游戏分类<select name="type" id="type">
                       <option value="">-请选择-</option>
                       <option value="休闲益智">休闲益智</option>
                       <option value="经典怀旧">经典怀旧</option>
                       <option value="体育竞技">体育竞技</option>
                       <option value="热门网游">热门网游</option>
                   </select>
                       &nbsp  &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
                       平台类型<select name="platform" id="platform">
                       <option value="">-请选择-</option>
                       <option value="1">all</option>
                       <option value="2">android</option>
                       <option value="体育竞技">ios</option>
                   </select>
                   </div>


                    <div class="xq">
                     &nbsp;  <h4> 游戏描述</h4><textarea class="form-control" rows="3" name="des"></textarea>
                    </div>




                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <button type="submit" class="btn btn-success">提交</button>
                        </div>
                    </div>
                </form>

            </div>

        </div>


        <script>
            (function (i, s, o, g, r, a, m) {
                i['GoogleAnalyticsObject'] = r;
                i[r] = i[r] || function () {
                    (i[r].q = i[r].q || []).push(arguments)
                }, i[r].l = 1 * new Date();
                a = s.createElement(o),
                    m = s.getElementsByTagName(o)[0];
                a.async = 1;
                a.src = g;
                m.parentNode.insertBefore(a, m)
            })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');

            ga('create', 'UA-4625583-2', 'webapplayers.com');
            ga('send', 'pageview');


        </script>


</body>
</html>
